﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace LostHobbits.Scene.WorldObjects
{
    public class StaticObject : ISceneObject
    {
        string alias;
        private Vector2 position;
        public Vector2 Position
        {
            get { return position; }
            set { position = value; }
        }

        public StaticObject(string alias, Vector2 position)
        {
            this.alias = alias;
            this.position = position;
        }

        public void BuildRenderAssembly(List<Render.RenderManager.RendationInfo> toRender, Microsoft.Xna.Framework.Vector2 parentPos)
        {
            Render.RenderManager.RendationInfo tmp = new Render.RenderManager.RendationInfo();
            tmp.alias = alias;
            tmp.location = Position + parentPos;
            tmp.rotation = 0f;
            tmp.tint = Color.White;
            toRender.Add(tmp);
        }

        public void Load(Sound.ISoundService sound)
        {
            
        }
    }
}
